#pragma once
#include "../common/CLog.h"
#include "../common/ConfigOpe.h"
#include "../common/LogicBase.h"

class CDataSaveMain
{
public:
	CDataSaveMain(void);
	~CDataSaveMain(void);

	bool Run();

private:
	bool LoadConfigInfo();
	bool LoadSaveProtocol();
	bool CreateSaveThread();
	static int SaveThread(void* lpVoid);

private:
	CLog myLog;
	GlobalSoftwareInfo mySoftwareInfo;	
	vector <CLogicBase*> logicList;
};